package com.ruoyi.activity.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 信息发布对象 che_activity
 * 
 * @author ruoyi
 * @date 2024-06-04
 */
public class CheActivity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 发布 门店id */
    @Excel(name = "发布 门店id")
    private Long shopId;

    /** 发布内容 */
    @Excel(name = "发布内容")
    private String content;

    /** 审核状态（数据字典：待审核、审核通过、审核不通过） */
    private Long type;

    /** 审核时间 */
    private Date auditTime;

    /** 审核说明 */
    private String explains;

    /** 活动状态（数据字典：已上架、未上架） */
    @Excel(name = "活动状态", readConverterExp = "数=据字典：已上架、未上架")
    private Long state;

    @Excel(name = "商户名称")
    private String shopName;

    @Excel(name = "门店地址")
    private String shopAddress;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public String getShopAddress() {
        return shopAddress;
    }

    public void setShopAddress(String shopAddress) {
        this.shopAddress = shopAddress;
    }

    public Long getId()
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setShopId(Long shopId) 
    {
        this.shopId = shopId;
    }

    public Long getShopId() 
    {
        return shopId;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setType(Long type) 
    {
        this.type = type;
    }

    public Long getType() 
    {
        return type;
    }
    public void setAuditTime(Date auditTime) 
    {
        this.auditTime = auditTime;
    }

    public Date getAuditTime() 
    {
        return auditTime;
    }
    public void setExplains(String explains) 
    {
        this.explains = explains;
    }

    public String getExplains() 
    {
        return explains;
    }
    public void setState(Long state) 
    {
        this.state = state;
    }

    public Long getState() 
    {
        return state;
    }

    public String getShopName() {
        return shopName;
    }

    public void setShopName(String shopName) {
        this.shopName = shopName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("shopId", getShopId())
            .append("content", getContent())
            .append("createTime", getCreateTime())
            .append("type", getType())
            .append("auditTime", getAuditTime())
            .append("explains", getExplains())
            .append("state", getState())
            .toString();
    }
}
